package com.f5.management.dao;

import com.f5.management.entity.MaintenanceStaff;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

@Mapper
@Repository
public interface MaintenanceStaffDAO {
    void insert(MaintenanceStaff staff);

    void delete(int id);

    MaintenanceStaff get(int id);

    List<MaintenanceStaff> list();

    List<MaintenanceStaff> freelist();

    void update(MaintenanceStaff staff);
}
